package com.elm.api.client;

import com.elm.common.pojo.Business;
import com.elm.common.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("business-service")
public interface BusinessClient {
    @GetMapping("/business/getById")
    Result<Business> getBusinessById(@RequestParam Integer businessId);
    }

